
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca inválida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">3358</td>
		    	<td class="value error-col-3 total ko">80.143 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.is(400), but actually found 422<span class="value" style="display:none">1</span></td>
		    	<td class="value error-col-2 total ko">776</td>
		    	<td class="value error-col-3 total ko">18.52 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.is(400), but actually found 500<span class="value" style="display:none">2</span></td>
		    	<td class="value error-col-2 total ko">56</td>
		    	<td class="value error-col-3 total ko">1.337 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-inva-lida-b5618'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['41', '123', '205', '287', '369', '451', '533', '615', '696', '778', '860', '942', '1024', '1106', '1188', '1270', '1352', '1434', '1516', '1598', '1680', '1762', '1844', '1926', '2008', '2089', '2171', '2253', '2335', '2417', '2499', '2581', '2663', '2745', '2827', '2909', '2991', '3073', '3155', '3237', '3319', '3401', '3482', '3564', '3646', '3728', '3810', '3892', '3974', '4056', '4138', '4220', '4302', '4384', '4466', '4548', '4630', '4712', '4793', '4875', '4957', '5039', '5121', '5203', '5285', '5367', '5449', '5531', '5613', '5695', '5777', '5859', '5941', '6023', '6105', '6186', '6268', '6350', '6432', '6514', '6596', '6678', '6760', '6842', '6924', '7006', '7088', '7170', '7252', '7334', '7416', '7498', '7579', '7661', '7743', '7825', '7907', '7989', '8071', '8153'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  85.68,0.19,0.26,0.04,0.07,0.07,0.09,0.02,0.04,0.0,0.02,0.09,0.04,0.14,0.16,0.23,0.11,0.23,0.26,0.21,0.21,0.21,0.11,0.07,0.11,0.16,0.09,0.14,0.11,0.19,0.31,0.31,0.28,0.21,0.28,0.23,0.21,0.26,0.31,0.26,0.35,0.52,0.5,0.26,0.35,0.38,0.52,0.4,0.28,0.26,0.35,0.5,0.16,0.45,0.19,0.19,0.23,0.23,0.23,0.23,0.02,0.07,0.11,0.16,0.11,0.02,0.02,0.04,0.0,0.09,0.04,0.02,0.04,0.0,0.04,0.04,0.02,0.02,0.02,0.0,0.02,0.0,0.02,0.0,0.0,0.0,0.04,0.0,0.0,0.0,0.02,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.02
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692822993,null],[1692822994,null],[1692822995,null],[1692822996,null],[1692822997,null],[1692822998,null],[1692822999,null],[1692823000,null],[1692823001,null],[1692823002,null],[1692823003,null],[1692823004,null],[1692823005,null],[1692823006,null],[1692823007,null],[1692823008,null],[1692823009,null],[1692823010,null],[1692823011,null],[1692823012,null],[1692823013,null],[1692823014,null],[1692823015,null],[1692823016,null],[1692823017,null],[1692823018,null],[1692823019,null],[1692823020,null],[1692823021,null],[1692823022,null],[1692823023,null],[1692823024,null],[1692823025,null],[1692823026,null],[1692823027,null],[1692823028,null],[1692823029,null],[1692823030,null],[1692823031,null],[1692823032,null],[1692823033,null],[1692823034,null],[1692823035,null],[1692823036,null],[1692823037,null],[1692823038,null],[1692823039,null],[1692823040,null],[1692823041,null],[1692823042,null],[1692823043,null],[1692823044,null],[1692823045,null],[1692823046,null],[1692823047,null],[1692823048,null],[1692823049,null],[1692823050,null],[1692823051,null],[1692823052,null],[1692823053,null],[1692823054,null],[1692823055,null],[1692823056,null],[1692823057,null],[1692823058,null],[1692823059,null],[1692823060,null],[1692823061,null],[1692823062,null],[1692823063,null],[1692823064,null],[1692823065,null],[1692823066,null],[1692823067,null],[1692823068,null],[1692823069,null],[1692823070,null],[1692823071,null],[1692823072,null],[1692823073,null],[1692823074,null],[1692823075,null],[1692823076,null],[1692823077,null],[1692823078,null],[1692823079,null],[1692823080,null],[1692823081,null],[1692823082,null],[1692823083,null],[1692823084,null],[1692823085,null],[1692823086,null],[1692823087,null],[1692823088,null],[1692823089,null],[1692823090,null],[1692823091,null],[1692823092,null],[1692823093,null],[1692823094,null],[1692823095,null],[1692823096,null],[1692823097,null],[1692823098,null],[1692823099,null],[1692823100,null],[1692823101,null],[1692823102,null],[1692823103,null],[1692823104,null],[1692823105,null],[1692823106,null],[1692823107,null],[1692823108,null],[1692823109,null],[1692823110,null],[1692823111,null],[1692823112,null],[1692823113,null],[1692823114,null],[1692823115,null],[1692823116,null],[1692823117,null],[1692823118,null],[1692823119,null],[1692823120,null],[1692823121,null],[1692823122,null],[1692823123,null],[1692823124,null],[1692823125,null],[1692823126,null],[1692823127,null],[1692823128,null],[1692823129,null],[1692823130,null],[1692823131,null],[1692823132,null],[1692823133,null],[1692823134,null],[1692823135,null],[1692823136,null],[1692823137,null],[1692823138,null],[1692823139,null],[1692823140,null],[1692823141,null],[1692823142,null],[1692823143,null],[1692823144,null],[1692823145,null],[1692823146,null],[1692823147,null],[1692823148,null],[1692823149,null],[1692823150,null],[1692823151,null],[1692823152,null],[1692823153,null],[1692823154,null],[1692823155,null],[1692823156,null],[1692823157,null],[1692823158,null],[1692823159,null],[1692823160,null],[1692823161,null],[1692823162,null],[1692823163,null],[1692823164,null],[1692823165,null],[1692823166,null],[1692823167,null],[1692823168,null],[1692823169,null],[1692823170,null],[1692823171,null],[1692823172,null],[1692823173,null],[1692823174,null],[1692823175,null],[1692823176,null],[1692823177,null],[1692823178,null],[1692823179,null],[1692823180,null],[1692823181,null],[1692823182,null],[1692823183,null],[1692823184,null],[1692823185,null],[1692823186,null],[1692823187,null],[1692823188,null],[1692823189,null],[1692823190,null],[1692823191,null],[1692823192,null],[1692823193,null],[1692823194,null],[1692823195,null],[1692823196,null],[1692823197,null],[1692823198,null],[1692823199,null],[1692823200,null],[1692823201,null],[1692823202,null],[1692823203,null],[1692823204,null],[1692823205,null],[1692823206,null],[1692823207,null],[1692823208,null],[1692823209,null],[1692823210,null],[1692823211,null],[1692823212,null],[1692823213,null],[1692823214,null],[1692823215,null],[1692823216,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692822993,[2,0,2]],[1692822994,[2,0,2]],[1692822995,[2,0,2]],[1692822996,[2,0,2]],[1692822997,[2,0,2]],[1692822998,[2,0,2]],[1692822999,[2,0,2]],[1692823000,[2,0,2]],[1692823001,[2,0,2]],[1692823002,[2,0,2]],[1692823003,[2,0,2]],[1692823004,[2,0,2]],[1692823005,[2,0,2]],[1692823006,[2,0,2]],[1692823007,[2,0,2]],[1692823008,[2,0,2]],[1692823009,[2,0,2]],[1692823010,[2,0,2]],[1692823011,[2,0,2]],[1692823012,[2,0,2]],[1692823013,[2,0,2]],[1692823014,[2,0,2]],[1692823015,[2,0,2]],[1692823016,[2,0,2]],[1692823017,[2,0,2]],[1692823018,[4,0,4]],[1692823019,[6,0,6]],[1692823020,[6,0,6]],[1692823021,[6,0,6]],[1692823022,[7,0,7]],[1692823023,[7,0,7]],[1692823024,[7,0,7]],[1692823025,[8,0,8]],[1692823026,[7,0,7]],[1692823027,[8,0,8]],[1692823028,[8,0,8]],[1692823029,[8,0,8]],[1692823030,[8,0,8]],[1692823031,[8,0,8]],[1692823032,[9,0,9]],[1692823033,[9,0,9]],[1692823034,[9,0,9]],[1692823035,[9,0,9]],[1692823036,[10,0,10]],[1692823037,[9,0,9]],[1692823038,[10,0,10]],[1692823039,[10,0,10]],[1692823040,[10,0,10]],[1692823041,[10,0,10]],[1692823042,[11,0,11]],[1692823043,[11,0,11]],[1692823044,[10,0,10]],[1692823045,[12,0,12]],[1692823046,[11,0,11]],[1692823047,[12,0,12]],[1692823048,[11,0,11]],[1692823049,[12,0,12]],[1692823050,[12,0,12]],[1692823051,[13,0,13]],[1692823052,[12,0,12]],[1692823053,[13,0,13]],[1692823054,[13,0,13]],[1692823055,[13,0,13]],[1692823056,[13,0,13]],[1692823057,[13,0,13]],[1692823058,[14,0,14]],[1692823059,[13,0,13]],[1692823060,[14,0,14]],[1692823061,[14,0,14]],[1692823062,[15,0,15]],[1692823063,[14,0,14]],[1692823064,[15,0,15]],[1692823065,[15,0,15]],[1692823066,[15,0,15]],[1692823067,[15,0,15]],[1692823068,[16,0,16]],[1692823069,[15,0,15]],[1692823070,[16,0,16]],[1692823071,[16,0,16]],[1692823072,[16,0,16]],[1692823073,[17,0,17]],[1692823074,[16,0,16]],[1692823075,[17,0,17]],[1692823076,[17,0,17]],[1692823077,[17,0,17]],[1692823078,[18,0,18]],[1692823079,[17,0,17]],[1692823080,[18,0,18]],[1692823081,[17,0,17]],[1692823082,[19,0,19]],[1692823083,[18,0,18]],[1692823084,[18,0,18]],[1692823085,[19,0,19]],[1692823086,[19,0,19]],[1692823087,[19,0,19]],[1692823088,[19,0,19]],[1692823089,[20,0,20]],[1692823090,[19,0,19]],[1692823091,[20,0,20]],[1692823092,[20,0,20]],[1692823093,[20,0,20]],[1692823094,[20,0,20]],[1692823095,[21,0,21]],[1692823096,[21,0,21]],[1692823097,[21,0,21]],[1692823098,[21,0,21]],[1692823099,[21,0,21]],[1692823100,[22,0,22]],[1692823101,[21,0,21]],[1692823102,[22,0,22]],[1692823103,[22,0,22]],[1692823104,[22,0,22]],[1692823105,[23,0,23]],[1692823106,[23,0,23]],[1692823107,[23,0,23]],[1692823108,[23,0,23]],[1692823109,[23,0,23]],[1692823110,[23,0,23]],[1692823111,[23,0,23]],[1692823112,[24,0,24]],[1692823113,[24,0,24]],[1692823114,[24,0,24]],[1692823115,[25,0,25]],[1692823116,[24,0,24]],[1692823117,[25,0,25]],[1692823118,[25,0,25]],[1692823119,[25,0,25]],[1692823120,[25,0,25]],[1692823121,[26,0,26]],[1692823122,[26,0,26]],[1692823123,[26,0,26]],[1692823124,[26,0,26]],[1692823125,[26,0,26]],[1692823126,[26,0,26]],[1692823127,[27,0,27]],[1692823128,[26,0,26]],[1692823129,[27,0,27]],[1692823130,[27,0,27]],[1692823131,[28,0,28]],[1692823132,[28,0,28]],[1692823133,[27,0,27]],[1692823134,[28,0,28]],[1692823135,[28,0,28]],[1692823136,[29,0,29]],[1692823137,[28,0,28]],[1692823138,[29,0,29]],[1692823139,[28,0,28]],[1692823140,[29,0,29]],[1692823141,[30,0,30]],[1692823142,[29,0,29]],[1692823143,[30,0,30]],[1692823144,[30,0,30]],[1692823145,[30,0,30]],[1692823146,[30,0,30]],[1692823147,[30,0,30]],[1692823148,[31,0,31]],[1692823149,[30,0,30]],[1692823150,[31,0,31]],[1692823151,[31,0,31]],[1692823152,[32,0,32]],[1692823153,[31,0,31]],[1692823154,[32,0,32]],[1692823155,[32,0,32]],[1692823156,[32,0,32]],[1692823157,[32,0,32]],[1692823158,[33,0,33]],[1692823159,[32,0,32]],[1692823160,[33,0,33]],[1692823161,[33,0,33]],[1692823162,[33,0,33]],[1692823163,[34,0,34]],[1692823164,[33,0,33]],[1692823165,[34,0,34]],[1692823166,[34,0,34]],[1692823167,[34,0,34]],[1692823168,[35,0,35]],[1692823169,[34,0,34]],[1692823170,[35,0,35]],[1692823171,[34,0,34]],[1692823172,[36,0,36]],[1692823173,[35,0,35]],[1692823174,[35,0,35]],[1692823175,[36,0,36]],[1692823176,[36,0,36]],[1692823177,[36,0,36]],[1692823178,[37,0,37]],[1692823179,[36,0,36]],[1692823180,[37,0,37]],[1692823181,[37,0,37]],[1692823182,[37,0,37]],[1692823183,[37,0,37]],[1692823184,[36,0,36]],[1692823185,[38,0,38]],[1692823186,[38,0,38]],[1692823187,[38,0,38]],[1692823188,[38,0,38]],[1692823189,[39,0,39]],[1692823190,[38,0,38]],[1692823191,[39,0,39]],[1692823192,[39,0,39]],[1692823193,[39,0,39]],[1692823194,[39,0,39]],[1692823195,[39,0,39]],[1692823196,[40,0,40]],[1692823197,[40,0,40]],[1692823198,[18,0,18]],[1692823199,[0,0,0]],[1692823200,[0,0,0]],[1692823201,[0,0,0]],[1692823202,[0,0,0]],[1692823203,[0,0,0]],[1692823204,[0,0,0]],[1692823205,[0,0,0]],[1692823206,[0,0,0]],[1692823207,[0,0,0]],[1692823208,[0,0,0]],[1692823209,[0,0,0]],[1692823210,[0,0,0]],[1692823211,[0,0,0]],[1692823212,[0,0,0]],[1692823213,[0,0,0]],[1692823214,[0,0,0]],[1692823215,[0,0,0]],[1692823216,[0,0,0]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692822993,[2,0,2]],[1692822994,[2,0,2]],[1692822995,[2,0,2]],[1692822996,[2,0,2]],[1692822997,[2,0,2]],[1692822998,[2,0,2]],[1692822999,[2,0,2]],[1692823000,[2,0,2]],[1692823001,[2,0,2]],[1692823002,[2,0,2]],[1692823003,[2,0,2]],[1692823004,[2,0,2]],[1692823005,[2,0,2]],[1692823006,[2,0,2]],[1692823007,[2,0,2]],[1692823008,[2,0,2]],[1692823009,[2,0,2]],[1692823010,[2,0,2]],[1692823011,[2,0,2]],[1692823012,[2,0,2]],[1692823013,[2,0,2]],[1692823014,[2,0,2]],[1692823015,[2,0,2]],[1692823016,[2,0,2]],[1692823017,[2,0,2]],[1692823018,[4,0,4]],[1692823019,[6,0,6]],[1692823020,[6,0,6]],[1692823021,[6,0,6]],[1692823022,[7,0,7]],[1692823023,[7,0,7]],[1692823024,[7,0,7]],[1692823025,[8,0,8]],[1692823026,[7,0,7]],[1692823027,[8,0,8]],[1692823028,[8,0,8]],[1692823029,[8,0,8]],[1692823030,[8,0,8]],[1692823031,[7,0,7]],[1692823032,[10,0,10]],[1692823033,[9,0,9]],[1692823034,[9,0,9]],[1692823035,[9,0,9]],[1692823036,[8,0,8]],[1692823037,[5,0,5]],[1692823038,[10,0,10]],[1692823039,[7,0,7]],[1692823040,[8,0,8]],[1692823041,[3,0,3]],[1692823042,[5,0,5]],[1692823043,[8,0,8]],[1692823044,[11,0,11]],[1692823045,[6,0,6]],[1692823046,[10,0,10]],[1692823047,[10,0,10]],[1692823048,[18,0,18]],[1692823049,[14,0,14]],[1692823050,[16,0,16]],[1692823051,[13,0,13]],[1692823052,[12,0,12]],[1692823053,[15,0,15]],[1692823054,[12,0,12]],[1692823055,[13,0,13]],[1692823056,[13,0,13]],[1692823057,[14,0,14]],[1692823058,[15,0,15]],[1692823059,[10,0,10]],[1692823060,[17,0,17]],[1692823061,[14,0,14]],[1692823062,[12,0,12]],[1692823063,[15,0,15]],[1692823064,[19,0,19]],[1692823065,[12,0,12]],[1692823066,[19,0,19]],[1692823067,[13,0,13]],[1692823068,[16,0,16]],[1692823069,[12,0,12]],[1692823070,[16,0,16]],[1692823071,[16,0,16]],[1692823072,[18,0,18]],[1692823073,[14,0,14]],[1692823074,[17,0,17]],[1692823075,[18,0,18]],[1692823076,[18,0,18]],[1692823077,[15,0,15]],[1692823078,[17,0,17]],[1692823079,[19,0,19]],[1692823080,[18,0,18]],[1692823081,[19,0,19]],[1692823082,[18,0,18]],[1692823083,[19,0,19]],[1692823084,[18,0,18]],[1692823085,[20,0,20]],[1692823086,[22,0,22]],[1692823087,[18,0,18]],[1692823088,[20,0,20]],[1692823089,[18,0,18]],[1692823090,[20,0,20]],[1692823091,[19,0,19]],[1692823092,[20,0,20]],[1692823093,[24,0,24]],[1692823094,[22,0,22]],[1692823095,[23,0,23]],[1692823096,[20,0,20]],[1692823097,[20,0,20]],[1692823098,[20,0,20]],[1692823099,[20,0,20]],[1692823100,[23,0,23]],[1692823101,[21,0,21]],[1692823102,[22,0,22]],[1692823103,[20,0,20]],[1692823104,[23,0,23]],[1692823105,[23,0,23]],[1692823106,[22,0,22]],[1692823107,[24,0,24]],[1692823108,[23,0,23]],[1692823109,[24,0,24]],[1692823110,[26,0,26]],[1692823111,[21,0,21]],[1692823112,[23,0,23]],[1692823113,[26,0,26]],[1692823114,[25,0,25]],[1692823115,[23,0,23]],[1692823116,[25,0,25]],[1692823117,[22,0,22]],[1692823118,[26,0,26]],[1692823119,[27,0,27]],[1692823120,[26,0,26]],[1692823121,[26,0,26]],[1692823122,[28,0,28]],[1692823123,[24,0,24]],[1692823124,[22,0,22]],[1692823125,[29,0,29]],[1692823126,[25,0,25]],[1692823127,[27,0,27]],[1692823128,[27,0,27]],[1692823129,[27,0,27]],[1692823130,[25,0,25]],[1692823131,[30,0,30]],[1692823132,[29,0,29]],[1692823133,[27,0,27]],[1692823134,[26,0,26]],[1692823135,[29,0,29]],[1692823136,[29,0,29]],[1692823137,[29,0,29]],[1692823138,[27,0,27]],[1692823139,[26,0,26]],[1692823140,[30,0,30]],[1692823141,[32,0,32]],[1692823142,[30,0,30]],[1692823143,[30,0,30]],[1692823144,[29,0,29]],[1692823145,[30,0,30]],[1692823146,[35,0,35]],[1692823147,[29,0,29]],[1692823148,[28,0,28]],[1692823149,[28,0,28]],[1692823150,[30,0,30]],[1692823151,[33,0,33]],[1692823152,[33,0,33]],[1692823153,[29,0,29]],[1692823154,[34,0,34]],[1692823155,[35,0,35]],[1692823156,[28,0,28]],[1692823157,[29,0,29]],[1692823158,[39,0,39]],[1692823159,[33,0,33]],[1692823160,[32,0,32]],[1692823161,[35,0,35]],[1692823162,[34,0,34]],[1692823163,[37,0,37]],[1692823164,[31,0,31]],[1692823165,[33,0,33]],[1692823166,[33,0,33]],[1692823167,[33,0,33]],[1692823168,[35,0,35]],[1692823169,[35,0,35]],[1692823170,[34,0,34]],[1692823171,[35,0,35]],[1692823172,[35,0,35]],[1692823173,[37,0,37]],[1692823174,[32,0,32]],[1692823175,[32,0,32]],[1692823176,[40,0,40]],[1692823177,[36,0,36]],[1692823178,[34,0,34]],[1692823179,[36,0,36]],[1692823180,[42,0,42]],[1692823181,[38,0,38]],[1692823182,[37,0,37]],[1692823183,[37,0,37]],[1692823184,[34,0,34]],[1692823185,[38,0,38]],[1692823186,[38,0,38]],[1692823187,[38,0,38]],[1692823188,[35,0,35]],[1692823189,[39,0,39]],[1692823190,[41,0,41]],[1692823191,[39,0,39]],[1692823192,[37,0,37]],[1692823193,[39,0,39]],[1692823194,[40,0,40]],[1692823195,[40,0,40]],[1692823196,[39,0,39]],[1692823197,[41,0,41]],[1692823198,[18,0,18]],[1692823199,[4,0,4]],[1692823200,[1,0,1]],[1692823201,[0,0,0]],[1692823202,[0,0,0]],[1692823203,[0,0,0]],[1692823204,[0,0,0]],[1692823205,[0,0,0]],[1692823206,[0,0,0]],[1692823207,[0,0,0]],[1692823208,[0,0,0]],[1692823209,[0,0,0]],[1692823210,[0,0,0]],[1692823211,[0,0,0]],[1692823212,[0,0,0]],[1692823213,[0,0,0]],[1692823214,[0,0,0]],[1692823215,[0,0,0]],[1692823216,[0,0,0]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 4190.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[7,10],[7,6],[7,9],[7,4],[8,24],[8,8],[8,7],[8,27],[8,9],[8,6],[9,7],[9,6],[10,6],[11,5],[11,7],[12,5],[14,4],[14,11],[15,5],[15,7],[16,6],[18,5],[18,6],[19,4],[20,5],[30,6],[30,5],[39,18],[45,6],[50,11],[57,13],[65,20],[73,15],[77,4],[91,8],[91,26],[99,9],[104,144],[109,14],[129,67],[129,9],[131,7],[135,536],[136,189],[139,4202],[143,1221],[150,1943],[152,1274],[157,3532],[160,4467],[162,4553],[163,4583],[165,3658],[180,4467],[185,6295],[190,5429],[194,4038],[195,3608],[198,3720],[206,4353],[209,3924],[218,4230],[226,4692],[229,4709],[231,4414],[233,4322],[236,4430],[241,3966],[247,4701],[249,4043],[251,3569],[266,4415],[267,6213],[267,3838],[269,4354],[274,5880],[276,3384],[285,4010],[288,4274],[293,3762],[299,4420],[302,4462],[310,4456],[312,4102],[314,4675],[315,4283],[316,4654],[322,4856],[325,4964],[328,693],[331,5174],[332,5041],[339,4594],[340,5083],[348,4933],[348,4095],[354,4269],[362,1],[369,3507],[372,3925],[375,3582],[375,1],[387,4184],[390,1986],[396,3204],[397,3113],[403,3601],[406,3703],[409,4174],[410,3872],[414,3777],[415,3851],[415,4829],[418,3774],[419,3636],[419,2982],[421,3163],[423,3318],[432,2681],[441,2982],[446,1275],[453,1398],[459,2842],[463,3382],[463,6],[464,3997],[467,1376],[471,3367],[481,2],[483,1651],[488,3796],[488,798],[491,3952],[494,3395],[494,2480],[495,2791],[497,2206],[498,3097],[499,3189],[511,2738],[511,5435],[515,2734],[518,15],[519,8],[520,3542],[525,1750],[530,6],[531,14],[532,23],[540,2442],[541,2513],[541,7],[564,6246],[569,14],[573,863],[574,9],[585,4246],[588,2522],[591,3369],[592,1067],[595,7],[596,1078],[603,2458],[608,3282],[612,2492],[617,2683],[623,11],[624,2],[624,777],[631,621],[635,1],[639,2],[639,2216],[641,1],[646,1198],[646,2],[648,2],[649,3],[663,462],[665,2],[672,2784],[677,2257],[682,2],[689,407],[694,4109],[697,1275],[698,1953],[699,2],[712,2],[717,5],[717,211],[725,3],[729,3],[729,1868],[731,350],[742,4713],[752,1],[754,3],[754,157],[758,241],[759,2],[760,4556],[761,314],[761,11],[772,1222],[779,4]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
